package com.wonder.framework.authorization;

import com.wonder.common.common.AjaxResult;

public interface TokenAdminManager {

    TokenAdminModel createToken(String account, String value, String modelName) throws Exception;

    boolean checkToken(String token, String modelName);

    Long getToken(String token, String modelName);

    String getCurrentClienttype(String userno);

    void deleteToken(String token, String modelName);

    Integer getUserCount();

    AjaxResult<TokenAdminModel> getOnlineUsers(Integer pageNo, Integer pageSize);

    TokenAdminModel getRealToken(String userno);

    String getLocalInfoException(String key);

    Object getLocalInfo(String key);

    Integer getLocalUserId();
}
